Skip to content

[GH-3179] Add Geography support for ST_X and ST_Y - #3188

Merged
jiayuasu merged 3 commits into
apache:masterfrom
jiayuasu:feature/geography-coordinate-accessors
Jul 28, 2026
Merged

[GH-3179] Add Geography support for ST_X and ST_Y#3188
jiayuasu merged 3 commits into
apache:masterfrom
jiayuasu:feature/geography-coordinate-accessors

Conversation

@jiayuasu

Copy link
Copy Markdown
Member

Did you read the Contributor Guide?

Is this PR related to a ticket?

What changes were proposed in this PR?

  • Add Geography overloads for ST_X and ST_Y.
  • Dispatch Spark expressions to the Geometry or Geography implementation based on the input type.
  • Return NULL for non-point and empty Geography inputs, matching the existing Geometry behavior.

How was this patch tested?

  • Common Geography function tests: 77 passed.
  • Spark Geography function tests: 50 passed.
  • Existing Spark Geometry function regression suite: 235 passed.

Did this PR include necessary documentation updates?

  • Yes, I am adding a new API using the current SNAPSHOT version number, v1.9.1.
  • Yes, I have updated the Geography function index and added pages for ST_X and ST_Y.

@jiayuasu jiayuasu added this to the sedona-1.9.1 milestone Jul 28, 2026
@jiayuasu
jiayuasu merged commit af9acce into apache:master Jul 28, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Geography support for ST_X and ST_Y

1 participant